package com.itboye.sunsun.utils;

import java.util.ArrayList;
import java.util.List;

import com.itboye.sunsun.address.ForunmHoneModel;

/****
 * 论坛主页轮中添加文字广告
 * 
 * @author liu
 * 
 */
public class MianUitl {
static	String name[] = {
			"http://a.hiphotos.baidu.com/image/pic/item/9358d109b3de9c82d94b518a6e81800a19d8438c.jpg",
			"http://d.hiphotos.baidu.com/image/pic/item/b21c8701a18b87d6dcf88618050828381f30fd7b.jpg" ,
			"http://h.hiphotos.baidu.com/image/pic/item/4ec2d5628535e5dd2820232370c6a7efce1b623a.jpg",
			"http://e.hiphotos.baidu.com/image/w%3D310/sign=66270b4fe8c4b7453494b117fffd1e78/0bd162d9f2d3572c7dad11ba8913632762d0c30d.jpg",
			"http://a.hiphotos.baidu.com/image/pic/item/dcc451da81cb39db76ae4a51d2160924ab18304e.jpg"};

	public static List<ForunmHoneModel> getBannerAd() {
		List<ForunmHoneModel> adList = new ArrayList<ForunmHoneModel>();
		for (int i = 0; i < adList.size(); i++) {
			ForunmHoneModel adDomain = new ForunmHoneModel();
			adDomain.setImg_url(name[i]);
			adList.add(adDomain);
		}

		/*ForunmHoneModel adDomain = new ForunmHoneModel();
		// adDomain.setId("108078");
		// adDomain.setDate("广告发布时间:"+TimesUtils.getRefreshTime());
		// adDomain.setTitle("杭州博也科技");
		// adDomain.setTopicFrom("001");
		// adDomain.setTopic("森森水族最新产品");

		ForunmHoneModel adDomain2 = new ForunmHoneModel();
		// adDomain2.setId("108078");
		// adDomain2.setDate("3月5日");
		// adDomain2.setTitle("森森水族");
		// adDomain2.setTopicFrom("小天");
		// adDomain2.setTopic("“我想知道令狐安和令计划有什么关系？”");
		adDomain2
				.setImgUrl("http://d.hiphotos.baidu.com/image/pic/item/b21c8701a18b87d6dcf88618050828381f30fd7b.jpg");
		adDomain2.setAd(false);
		adList.add(adDomain2);

		ForunmHoneModel adDomain3 = new ForunmHoneModel();
		// adDomain3.setId("108078");
		// adDomain3.setDate("3月6日");
		// adDomain3.setTitle("我和令计划只是同姓");
		// adDomain3.setTopicFrom("旭东");
		// adDomain3.setTopic("“我想知道令狐安和令计划有什么关系？”");
		adDomain3
				.setImgUrl("http://h.hiphotos.baidu.com/image/pic/item/4ec2d5628535e5dd2820232370c6a7efce1b623a.jpg");
		adDomain3.setAd(false);
		adList.add(adDomain3);

		ForunmHoneModel adDomain4 = new ForunmHoneModel();
		// adDomain4.setId("108078");
		// adDomain4.setDate("发布时时间："+TimesUtils.getRefreshTime());
		// adDomain4.setTitle("我和令计划只是同姓");
		// adDomain4.setTopicFrom("小软");
		// adDomain4.setTopic("“我想知道令狐安和令计划有什么关系？”");
		adDomain4
				.setImgUrl("http://a.hiphotos.baidu.com/image/pic/item/dcc451da81cb39db76ae4a51d2160924ab18304e.jpg");
		adDomain4.setAd(false);
		adList.add(adDomain4);

		ForunmHoneModel adDomain5 = new ForunmHoneModel();
		// adDomain5.setId("108078");
		// adDomain5.setDate("3月8日");
		// adDomain5.setTitle("我和令计划只是同姓");
		// adDomain5.setTopicFrom("大熊");
		// adDomain5.setTopic("“我想知道令狐安和令计划有什么关系？”");
		adDomain5
				.setImgUrl("http://e.hiphotos.baidu.com/image/w%3D310/sign=66270b4fe8c4b7453494b117fffd1e78/0bd162d9f2d3572c7dad11ba8913632762d0c30d.jpg");
		adDomain5.setAd(true); // 代表是广告
		adList.add(adDomain5);
*/
		return adList;
	}

}
